<app-toast aria-live="polite" aria-atomic="true" class="fixed-top"></app-toast>

<ng-http-loader></ng-http-loader>
<!--<ul class="nav nav-tabs">-->

<!--</ul>-->

<div class="container">
  <nav class="navbar navbar-expand-lg navbar-light bg-light">
    <a class="navbar-brand" routerLink="/index">

      <img src="assets/imgs/LOGO100.png" width="100" height="100" class="d-inline-block align-top" alt="" loading="lazy">
    </a>

    <div class="collapse navbar-collapse" id="navbarText">
      <ul class="navbar-nav mr-auto ">
      <ul class="nav nav-tabs ">
        <li class="nav-item">
          <a class="nav-link active" routerLink="/newslist">新闻列表页</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" routerLink="/admin">系统管理</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" routerLink="/carousel">轮播组件</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" routerLink="/mp3play">Mp3播放</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" routerLink="/videoplay">视频播放</a>
        </li>
      </ul>
      </ul>

<!--          <li class="nav-item">-->
<!--            <a class="nav-link" routerLink="/newslist">新闻列表页</a>-->
<!--          </li>-->

<!--          <li class="nav-item">-->
<!--            <a class="nav-link" routerLink="/admin">系统管理</a>-->
<!--          </li>-->

<!--          <li class="nav-item">-->
<!--            <a class="nav-link" routerLink="/carousel">轮播组件</a>-->
<!--          </li>-->

<!--           <li class="nav-item">-->
<!--            <a class="nav-link" routerLink="/mp3play">Mp3播放</a>-->
<!--          </li>-->

<!--          <li class="nav-item">-->
<!--            <a class="nav-link" routerLink="/videoplay">视频播放</a>-->
<!--          </li>-->

      <button *ngIf="islogin==true" class="btn btn-outline-success my-2 my-sm-0" type="submit" routerLink="/userinfo">账户设置</button>
      <button *ngIf="islogin==false" class="btn btn-outline-success my-2 my-sm-0" type="submit" (click)="openLoginForm()">注册/登录</button>

    </div>
  </nav>



  <router-outlet></router-outlet>
</div>

